function DialogHistory(doc, container, width, height, user, date, options, data) {
  this._doc = doc;
  this._container = container;
  this._user = user;
  this._date = date;
  this._options = options;
  this._data = data;
  this._unique = MiscUtils.unique();
  this._createElements();
  this._gui = AbsDialogHistory.gui(this._unique);
};

DialogHistory.prototype._createElements = function() {
  var table, tr, td;
  
  table = document.createElement('table');
  table.cellPadding = 0;
  table.cellSpacing = 0;
  table.style.width = '740px';
  table.style.marginTop = '10px';
  this._container.appendChild(table);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.style.width = '740px';
  td.style.height = '24px';
  td.style.textAlign = 'left';
  td.id = this._unique + '_title_div';
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.style.width = '740px';
  var main = document.createElement('table');
  
  main.id = this._unique + '_mains_table';
  main.style.width = '740px';
  main.cellPadding = 0;
  main.cellSpacing = 0;
  main.className = "tableborder";
  td.appendChild(main);
  
  tr = main.insertRow(-1);
  tr.style.backgroundColor = '#ddd';
  td = tr.insertCell(-1);
  td.style.height = '23px';
  td.style.padding = '0 5px';
  td.appendChild(document.createTextNode('Date'));
  td = tr.insertCell(-1);
  td.style.padding = '0 5px';
  td.appendChild(document.createTextNode('User'));
  td = tr.insertCell(-1);
  td.style.padding = '0 5px';
  td.appendChild(document.createTextNode('Content'));
  td = tr.insertCell(-1);
  td.style.width = '100%';
  
};